class Gentranslator < SuperGen
	attr_accessor :name
	def get_book
		(gens.at 0).allele
	end
	def get_languaje
		(gens.at 1).allele
	end
	def get_pages
		(gens.at 2).allele
	end
	def get_length
		(gens.at 3).allele
	end

	def is_book_larger_than(length)
		if length.eql?("Breve") and !get_length.eql?("Breve") then true else false end
		if length.eql?("Intermedio") and get_length.eql?("Mas extenso") then true else false end
		if length.eql?("Mas extenso") then false end
	end
end
